<?php

namespace app\common\enum\user\moneylog;

use app\common\enum\EnumBasics;

/**
 * 余额变动场景枚举类
 * Class Scene
 * @package app\common\enum\user\balanceLog
 */
class Scene extends EnumBasics
{
    // 用户购买储值卡充值
    const VIPPAY = 10;

    // 退款
    const REFUND = 20;

    // 用户消费
    const CONSUME = 30;

    // 管理员操作
    const ADMIN = 40;

    /**
     * 获取订单类型值
     * @return array
     */
    public static function data()
    {
        return [
            self::VIPPAY => [
                'name' => '用户购买储值卡',
                'value' => self::VIPPAY,
                'describe' => '用户购买储值卡：%s',
            ],
            self::REFUND => [
                'name' => '订单退款',
                'value' => self::REFUND,
                'describe' => '用户购买储值卡：%s',
            ],
            self::CONSUME => [
                'name' => '用户消费',
                'value' => self::CONSUME,
                'describe' => '用户消费：%s',
            ],
            self::ADMIN => [
                'name' => '大额支付',
                'value' => self::ADMIN,
                'describe' => '大额支付：%s',
            ],
//            self::REFUND => [
//                'name' => '订单退款',
//                'value' => self::REFUND,
//                'describe' => '订单退款：%s',
//            ],
//            self::DIVIDE => [
//                'name' => '分红转化',
//                'value' => self::REFUND,
//                'describe' => '分红转化：%s',
//            ],
        ];
    }

}